package com.weharvest.edu.view.save;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.weharvest.edu.entity.BackstageRole;
import lombok.Data;

import java.util.Date;

/**
 * 用户角色属性暂存表
 */
@Data
public class BackstageUserSuperiorSave {
    //上级id
    private String id;
    //上级名字
    private String name;
    private String roleId;
    //等级
    @JsonProperty("order")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Integer order;
    @JsonProperty("organizationId")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private String organizationId;
    @JsonProperty("createTime")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Date createTime;
    @JsonProperty("updateTime")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Date updateTime;
    @JsonProperty("state")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private Integer state;
    @JsonProperty("flag")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    private String flag;
    //角色属性
    private BackstageRole backstageRole;
}
